package Test_0715;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-07-15
 * Time: 20:46
 */
class Student{
    public String name;
    public int age;
    public int num;
    public void listen(){
        System.out.println(name+"上课认真听讲");
    }
}
public class Test3 {
    public static void main(String[] args) {
        Student student=new Student();
        student.name="张三";
        student.age=11;
        student.num=1;
        student.listen();
    }
}
